package java知识点.运算符;

public class relation {
    public static void main(String[] args)
    {
        //注意:关系运算符的结果都是布尔类型----true   false
        int a = 10;
        int b = 40;
        //1.==
        System.out.println(a == b);//false
        //2.!=
        System.out.println(a != b);//true
        //3.>
        System.out.println(a > b);//false
        //4.>=
        System.out.println(a >= b);//false
        //5.<
        System.out.println(a < b);//true
        //6.<=
        System.out.println(a <= b);//true
    }
}
